package com.macro.mall.mapper;

import com.macro.mall.model.SmsPopupAdvertise;
import com.macro.mall.model.SmsPopupAdvertiseExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SmsPopupAdvertiseMapper {
    long countByExample(SmsPopupAdvertiseExample example);

    int deleteByExample(SmsPopupAdvertiseExample example);

    int deleteByPrimaryKey(Long id);

    int insert(SmsPopupAdvertise record);

    int insertSelective(SmsPopupAdvertise record);

    List<SmsPopupAdvertise> selectByExample(SmsPopupAdvertiseExample example);

    SmsPopupAdvertise selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") SmsPopupAdvertise record, @Param("example") SmsPopupAdvertiseExample example);

    int updateByExample(@Param("record") SmsPopupAdvertise record, @Param("example") SmsPopupAdvertiseExample example);

    int updateByPrimaryKeySelective(SmsPopupAdvertise record);

    int updateByPrimaryKey(SmsPopupAdvertise record);
}